<script lang="ts">
import { defineComponent, h, VNode } from "vue"

export default defineComponent({

  created() {
    const { params, query } = this.$route
    const { path } = params
    this.$router.replace({ path: '/' + path, query })
  },
  render: function () {
    const vnodes: Array<VNode> = []
    vnodes.push(h('div'))
    // avoid warning message
    return vnodes
  }
})
</script>
